HR - Employees - REST API
REST POST Employee specification
This operation allows to send Employee data to CODEX / CHECK and other applications (like Taliris).
REQUEST
url: /rest/v2/hr/employee
body: JSON format, containing all fields as belowHere is the format of the body that you should send:
{
"HEADER":{
"CORRELATION_ID": {technical ID used during all the transaction},
"COMPANY_CODE": {ROC company code},
"ANALYTICAL_CODE": {ROC BU code},
"REQUEST_DATE_TIME": {datetime when the message is sent},
"SOURCE_SYSTEM": {name of the source system},
"TARGET_SYSTEM": {fixed value "DALI"},
"TRANSACTION_ID": {functional identifier},
"FLOW_NAME": {fixed value "EMPLOYEE"},
"DISPATCHING_KEY": {empty}
},
"PAYLOAD":{
"EMPLOYEES":{
"EMPLOYEE":{
"EMPLOYEE_HEADER":{
"EMPLOYEE_ERP_ID": {personal number},
"ERP_SOURCE": {'name of the source system'_'ISO code of the country'},
"START_DATE": {start date of the occurrence format 'YYYY-MM-DD'},
"END_DATE": {end date of the occurrence format 'YYYY-MM-DD'},
"ACTION_REASON": {action reason},
"ACTION_CATEGORY": {action category - codex only},
"ID_VINCI": {Vinci ID},
"ACTIVE": {active=1 / inactive=0},
"CODEX_INDICATOR": {codex indicator - only used for an INIT},
"UPDATE_DATE": {last update of the employee format 'YYYY-MM-DD hh:mm:ss'}
},
"PERSONAL":{
"EMPLOYEE_AREA": {employee area - codex only},
"EMPLOYEE_SUB_AREA": {employee subarea - codex only},
"COST_CENTER": {cost center - codex only},
"EMPLOYEE_GROUP": {employee group - codex only},
"EMPLOYEE_SUB_GROUP": {employee subgroup - codex only},
"EMPLOYEE_TYPE": {employee type - codex only},
"PAYMENT_TYPE": {payment type - codex only},
"SALARY": {salary - codex only},
"VEHICULE_CLASS": {vehicle class - codex only},
"TITLE": {employee's title : 1=Mr,Sir,M... / 2=Mrs,Miss,Lady...},
"FIRST_NAME": {employee's first name},
"BIRTH_NAME": {employee's birth name},
"LAST_NAME": {employee's last name},
"GENDER": {employee's gender : 1=male / 2=female},
"SOCIAL_SECURITY_NUMBER": {social security number},
"SOCIAL_SECURITY_KEY": {social security key},
"NATIONALITY": {employee's nationality - ISO code on 3 characters},
"BIRTH_DATE": {employee's birth date format 'YYYY-MM-DD'},
"BIRTH_TOWN": {employee's birth town},
"BIRTH_POSTAL_CODE": {employee's birth postal code},
"BIRTH_STATE_CODE": {employee's birth state code},
"BIRTH_COUNTRY_CODE": {employee's birth country code - ISO code on 3 characters},
"ADRESSE_LINE1": {employee's address - limited to 10 characters in Codex},
"ADRESSE_LINE2": {employee's address},
"ADRESSE_LINE3": {employee's address},
"ADRESSE_LINE4": {employee's address},
"POSTAL_CODE": {employee's address zip code},
"CITY_OR_TOWN": {employee's address town},
"COUNTRY": {employee's address country - ISO code on 3 characters},
"STATE": {employee's address state},
"IBAN": {IBAN code - codex only},
"BANK_COUNTRY_ISO_CODE": {country's ISO code on 2 characters - codex only},
"EMPLOYEE_ADDON_FIELD":[
{
"EMPLOYEE_NO": {personal number - codex only},
"EFFECT_DT": {effective date - codex only},
"FIELD_TYPE": {field type - codex only},
"FIELD_SUBTYPE": {field subtype - codex only},
"FIELD_NAME": {field name - codex only},
"FIELD_VALUE": {field value - codex only},
"ADDON_FLAG": {flag - codex only}
}
]
},
"PROFESSIONAL":{
"GROUP_START_DATE": {start date in group format 'YYYY-MM-DD'},
"OSMOSE_START_DATE": {start date in company format 'YYYY-MM-DD'},
"SENIORITY_START_DATE": {start date in first arrival 'YYYY-MM-DD'},
"ADRESSE_LINE1": {professionnal address},
"ADRESSE_LINE2": {professionnal address},
"ADRESSE_LINE3": {professionnal address},
"ADRESSE_LINE4": {professionnal address},
"POSTAL_CODE": {professionnal address postal code},
"CITY_OR_TOWN": {professionnal address town},
"COUNTRY": {professionnal address country},
"STATE": {professionnal address state}
},
"MOVEMENT":[
{
"COMPANY_CODE": {ROC company code},
"OSMOSE_CODE": {ROC osmose code},
"BU_ANALYTIC_CODE": {ROC BU code},
"JOB_TITLE": {local job title},
"JOB_BUSINESS": {job business},
"JOB_FAMILY": {job family},
"ENTRY_CODE": {local entry code},
"ENTRY_CATEGORY" : {local category of entry},
"ENTRY_REASON" : {local reason of entry},
"LEAVE_CODE": {local leave code},
"LEAVE_CATEGORY" : {local category of exit},
"LEAVE_REASON" : {local reason of exit}
}
],
"CONTRACT":[
{
"CONTRACT_END_DT": {empty - not used},
"CONTRACT_NATURE": {contract nature},
"CONTRACT_TYPE": {contract type},
"ACTIVITY_PERCENTAGE": {activity percentage},
"WORKING_DURATION_UNIT": {working duration unit},
"WORKING_DURATION": {working duration}
}
],
"OCCUPATION":[
{
"CLASSIFICATION": {classification - socioprofessional category},
"QUALIFICATION": {qualification},
"POSITION": {position},
"COLLECTIVE_AGREEMENT": {local collective agreement code},
"GRADE": {conventional grade}
}
],
"EMPLOYE_ADDON":[
{
"SOURCE": {Source of the data},
"EVENT_TYPE": {Type of the data},
"EVENT_VALUE": {Value of the data},
"START_DATE": {start date},
"END_DATE": {end date},
"UPDATE_DATE": {update date}
}
]
}
}
}
}RESPONSE
Here is the format of the response we send:
{
"ERROR": {
"CODE": {error code},
"DESCRIPTION": {error description},
"DETAILS": {error details}
}
}Here are the different errors that we can send:
| LEVEL | CODE | DESCRIPTION | DETAILS |
|---|---|---|---|
| Application | 0 | SUCCESS | SUCCESS |
| Technical | 500 | Remote Exception when calling the Service | error details |
| Technical | 401 | Authentication error | - |
MAPPING
Here are further informations on each field:
| Block | Field | Type | Mandatory | Description | Example |
|---|---|---|---|---|---|
| HEADER | CORRELATION_ID | string | Y | Technical unique identifier for each message | ab1251561-zdzdz2664-dz162262 |
| HEADER | COMPANY_CODE | string | Y | ROC Company code - identifies the transaction of the payload | F014, SE08... |
| HEADER | ANALYTICAL_CODE | string | Y | ROC BU code - identifies the transaction of the payload | 12015 |
| HEADER | REQUEST_DATE_TIME | datetime | Y | time when the request was made - format YYYY-MM-DDThh:mm:ss | 2023-01-01T12:54:13 |
| HEADER | SOURCE_SYSTEM | string | Y | Identifies the caller system | AGDA, AFAS, BCS... |
| HEADER | TARGET_SYSTEM | string | Y | Fixed value : DALI | DALI |
| HEADER | TRANSACTION_ID | string | N | Functional identifier | ab1251561-zdzdz2664-dz162262 |
| HEADER | FLOW_NAME | string | Y | Fixed value : EMPLOYEE | EMPLOYEE |
| HEADER | DISPATCHING_KEY | string | N | ||
| EMPLOYEE_HEADER | EMPLOYEE_ERP_ID | string | Y | Personal number | 5123012 |
| EMPLOYEE_HEADER | ERP_SOURCE | string | Y | Name of source system_ISO code of the country | AGDA_SE, BCS_NL... |
| EMPLOYEE_HEADER | START_DATE | string | Y | more informations here - format YYYY-MM-DD | 2021-01-22 |
| EMPLOYEE_HEADER | END_DATE | string | Y | more informations here - format YYYY-MM-DD | 2024-03-20 |
| EMPLOYEE_HEADER | ACTION_REASON | string | Y | more informations here | HIR1, MVT1... |
| EMPLOYEE_HEADER | ACTION_CATEGORY | string | Y | Action category - codex only | D, F... |
| EMPLOYEE_HEADER | ID_VINCI | string | N | Vinci ID | 1247865 |
| EMPLOYEE_HEADER | ACTIVE | string | Y | Active status | 1=active / 0=inactive |
| EMPLOYEE_HEADER | CODEX_INDICATOR | string | Y | more informations here - codex only | X |
| EMPLOYEE_HEADER | UPDATE_DATE | string | Y | Last update date - format YYYY-MM-DD hh:mm:ss | 2023-04-13 10:54:28 |
| PERSONAL | EMPLOYEE_AREA | string | Y | Employee area - codex only | |
| PERSONAL | EMPLOYEE_SUB_AREA | string | Y | Employee subarea - codex only | |
| PERSONAL | COST_CENTER | string | Y | Cost center - codex only | |
| PERSONAL | EMPLOYEE_GROUP | string | Y | Employee group - codex only | |
| PERSONAL | EMPLOYEE_SUB_GROUP | string | Y | Employee subgroup - codex only | |
| PERSONAL | EMPLOYEE_TYPE | string | N | Employee type - codex only | |
| PERSONAL | PAYMENT_TYPE | string | Y | Payment type - codex only | |
| PERSONAL | SALARY | string | N | Salary - codex only | |
| PERSONAL | VEHICULE_CLASS | string | N | Car class - codex only | |
| PERSONAL | TITLE | string | Y | Employee title | 1=Mr, M., Sir / 2=Mrs, Miss, Lady |
| PERSONAL | FIRST_NAME | string | Y | Employee first name | |
| PERSONAL | BIRTH_NAME | string | N | Employee birth name | |
| PERSONAL | LAST_NAME | string | Y | Employee last name | |
| PERSONAL | GENDER | string | Y | Employee gender | 1=Male / 2=Female |
| PERSONAL | SOCIAL_SECURITY_NUMBER | string | N | Social security number | |
| PERSONAL | SOCIAL_SECURITY_KEY | string | N | Social security key | |
| PERSONAL | NATIONALITY | string | Y | Nationality ISO code on 3 characters | FRA, DEU, NLD... |
| PERSONAL | BIRTH_DATE | string | Y | Employee birth date - format YYYY-MM-DD | 1965-04-15 |
| PERSONAL | BIRTH_TOWN | string | Y | Employee birth town | |
| PERSONAL | BIRTH_POSTAL_CODE | string | N | Employee birth postal code | |
| PERSONAL | BIRTH_STATE_CODE | string | Y | Employee birth state code | |
| PERSONAL | BIRTH_COUNTRY_CODE | string | N | Employee birth country ISO code | |
| PERSONAL | ADRESSE_LINE1 | string | Y | Employee address - field limited to 10 characters and corresponds to the street number in codex | |
| PERSONAL | ADRESSE_LINE2 | string | Y | Employee address | |
| PERSONAL | ADRESSE_LINE3 | string | N | Employee address | |
| PERSONAL | ADRESSE_LINE4 | string | N | Employee address | |
| PERSONAL | POSTAL_CODE | string | Y | Employee address postal code | |
| PERSONAL | CITY_OR_TOWN | string | Y | Employee address city | |
| PERSONAL | COUNTRY | string | Y | Employee address country (ISO Code - 3 chars) | |
| PERSONAL | STATE | string | N | Employee address state | |
| PERSONAL | IBAN | string | Y | IBAN - codex only | |
| PERSONAL | BANK_COUNTRY_ISO_CODE | string | Y | Country ISO code on 2 characters - codex only | |
| EMPLOYEE_ADDON_FIELD | EMPLOYEE_NO | string | N | Personal number - codex only | |
| EMPLOYEE_ADDON_FIELD | EFFECT_DT | string | N | Effective date of update - format YYYY-MM-DD - codex only | 2022-05-16 |
| EMPLOYEE_ADDON_FIELD | FIELD_TYPE | string | N | more informations here - codex only | |
| EMPLOYEE_ADDON_FIELD | FIELD_SUBTYPE | string | N | more informations here - codex only | |
| EMPLOYEE_ADDON_FIELD | FIELD_NAME | string | N | more informations here - codex only | |
| EMPLOYEE_ADDON_FIELD | FIELD_VALUE | string | N | more informations here - codex only | |
| EMPLOYEE_ADDON_FIELD | ADDON_FLAG | string | N | more informations here - codex only | |
| PROFESSIONAL | GROUP_START_DATE | string | Y | Effective group start date - format YYYY-MM-DD | 2003-01-12 |
| PROFESSIONAL | OSMOSE_START_DATE | string | Y | Effective company start date - format YYYY-MM-DD | 2003-01-12 |
| PROFESSIONAL | SENIORITY_START_DATE | string | Y | Seniority start date - format YYYY-MM-DD | 2003-01-12 |
| PROFESSIONAL | ADRESSE_LINE1 | string | N | Professional employee address | |
| PROFESSIONAL | ADRESSE_LINE2 | string | N | Professional employee address | |
| PROFESSIONAL | ADRESSE_LINE3 | string | N | Professional employee address | |
| PROFESSIONAL | ADRESSE_LINE4 | string | N | Professional employee address | |
| PROFESSIONAL | POSTAL_CODE | string | N | Professional employee address postal code | |
| PROFESSIONAL | CITY_OR_TOWN | string | N | Professional employee address city | |
| PROFESSIONAL | COUNTRY | string | N | Professional employee address country | |
| PROFESSIONAL | STATE | string | N | Professional employee address state | |
| MOVEMENT | COMPANY_CODE | string | Y | ROC Company code | F014, SE08... |
| MOVEMENT | OSMOSE_CODE | string | Y | ROC Osmose code | 35514, 26148... |
| MOVEMENT | BU_ANALYTIC_CODE | string | Y | ROC BU code | 12618, 18245... |
| MOVEMENT | JOB_TITLE | string | Y | Local job title | |
| MOVEMENT | JOB_BUSINESS | string | N | Local job business | |
| MOVEMENT | JOB_FAMILY | string | N | Local job family | |
| MOVEMENT | ENTRY_CODE | string | N | Local entry code | |
| MOVEMENT | ENTRY_CATEORY | string | N | Local category of entry | |
| MOVEMENT | ENTRY_REASON | string | N | Local reason of entry | |
| MOVEMENT | LEAVE_CODE | string | N | Local leave code | |
| MOVEMENT | LEAVE_CATEGORY | string | N | Local category of exit | |
| MOVEMENT | LEAVE_REASON | string | N | Local reason of exit | |
| CONTRACT | CONTRACT_END_DT | string | N | tag exists in webservice signature but is not used | |
| CONTRACT | CONTRACT _NATURE | string | Y | Contract nature | |
| CONTRACT | CONTRACT_TYPE | string | Y | Contract type | |
| CONTRACT | ACTIVITY_PERCENTAGE | string | Y | Activity percentage | |
| CONTRACT | WORKING_DURATION_UNIT | string | Y | Working duration unit | |
| CONTRACT | WORKING_DURATION | string | Y | Working duration | |
| OCCUPATION | CLASSIFICATION | string | Y | Occupational activity of the population - default value SPC | SPC |
| OCCUPATION | QUALIFICATION | string | N | Qualification | |
| OCCUPATION | POSITION | string | N | Position | |
| OCCUPATION | COLLECTIVE_AGREEMENT | string | N | Local collective agreement code | |
| OCCUPATION | GRADE | string | N | Conventional grade | |
| EMPLOYEE_ADDON | SOURCE | string | Y | Source of the date | ex: HCP700 |
| EMPLOYEE_ADDON | EVENT_TYPE | string | Y | Type of the date | ex: ENTRY_CODE, LEAVE_REASON |
| EMPLOYEE_ADDON | EVENT_VALUE | string | Y | Value of the data | |
| EMPLOYEE_ADDON | START_DATE | string | Y | YYYY-MM-DD | |
| EMPLOYEE_ADDON | END_DATE | string | Y | YYYY-MM-DD | |
| EMPLOYEE_ADDON | UPDATE_DATE | string | Y | YYYY-MM-DD hh:mm:ss |
APPENDIX EMPLOYEE
START DATE
This field must be initialized, as a YYYY-MM-DD format, in order to identify all changes of occurrences regarding the employee management.
E.g. :
- contract change, vehicle class, address, or others...
- hiring
- leaving
END DATE
This field must be initialized, as a YYYY-MM-DD format.
If there is no END_DATE defined for an employee, the date must be filled with 2999-12-31 value.
If the ACTION_REASON is LEA1, then the END_DATE MUST be equal to the real leaving date of the employee.
ACTION REASON
This field must be initialized in order to identify every management act regarding the employee.
E.g. :
- contract change, vehicle class, address, or others...
- hiring
- transfer (company)
- leaving
Here is an example of cases of modifications that can determine a management act:
- Employee with long term contract
- Hiring
- Change of section
- Change of BU
- Leaving
- Employee with short term contract
- Hiring
- Change of section
- Change of BU
- Change of type of contract from short term to long term
- Leaving
Here are more details about each ACTION_REASON possible:
| Code | Functional description | Technical description |
|---|---|---|
| HIR1 | Used in case of hiring | Header, Personal, Professional, Movement, Contract and Occupation segments must be filled. |
| TRA1 | Used in case of a mutation (company change) | Header, Personal, Professional, Movement, Contract and Occupation segments must be filled. If data changes in at least one of the Movement, Contract or Occupation segments, if possible send the closing event of the existing occurrence before. |
| MVT1 | Used in case of a movement or a BU change (same company) | Header, Personal, Professional and Movement segments must be filled. Used in case of one or several fields change in the Movement segment. If possible, send the closing event of the existing occurrence before. |
| CTR1 | Used in case of a contract change | Header, Personal, Movement and Contract segments must be filled. Used in case of one or several fields change in the Contract segment. If possible, send the closing event of the existing occurrence before. |
| OCC1 | Used in case of an occupation change | Header, Movement and Occupation segments must be filled. Used in case of one or several fields change in the Occupation segment. If possible, send the closing event of the existing occurrence before. |
| LEA1 | Used in case of a leaving | Header, Personal, Professional and Movement segments must be filled, and the END_DATE will close all the occurrences. In order to send this action reason to all application target, we must receive : START_DATE = END_DATE = real date of leaving. |
| OTH1 | Used in case of a personal or professional change | Header, Personal, Professional and Movement segments must be filled. Used in case of one or several fields change in the Personal or Professional segment, such as first name, last name, address... |
| HIR2 | Used in case of RE-hiring | Header, Personal, Professional, Movement, Contract and Occupation segments must be filled. |
| SUS1 | Used in case of a suspension | Header, Personal, Professional and Movement segments must be filled. In case we have a new contract or occupation information for the employee, please fill the corresponding segment. |
CODEX INDICATOR
Codex Value on one character, except for INIT.
| Value | Description |
|---|---|
| INIT | The field must be initialized only with one character for Codex, except if it is an INITial load. The value must be โINITโ. In that case, data will not be sent to Codex, and will be sent in large quantity to other applications target. Action reason expected in the INIT load is HIR1. |
| E | For Codex, it means that the employee number is provided by the local tool |
| X or I | For Codex, it means that the employee number is provided by Codex |
ADDON FIELD
If there is an element into the table ADDON_FIELD (field_name, field_value), that exists in the base mapping, then the value of this element always prevails on the value of this field in the base mapping.
Example: In the base mapping, the field START_DATE equals the value 1988-05-01. I have an element in ADDON_FIELD table with a FIELD_NAME as BEGDA and a FIELD_VALUE as 2001-01-01. Then the concerned value will be 2001-01-01, and not 1998-05-01.
For some specifical requirements (TALIRIS, CHECK...), we will use a different rule than what is existing today for CODEX for the ADDON_FIELD part.
Below examples which CODEX will not be impacted, only used for CIM.
Add a value
| EMPLOYEE_ADDON_FIELD | Mandatory | Type | Value | Comment |
|---|---|---|---|---|
| EMPLOYEE_NO | N | String | 121345 | Personal number (=EMPLOYEE_ERP_ID) |
| EFFECT_DT | N | String | 2022-02-15 | START_DATE of the FIELD_VALUE associated to the FIELD_NAME |
| FIELD_TYPE | N | String | CIM | Default value, defined for any application target data will be sent to |
| FIELD_SUBTYPE | N | String | AGDA_SE | ERP_SOURCE |
| FIELD_NAME | N | String | CARTYPE | The field name of the value expected |
| FIELD_VALUE | N | String | ABCD | Value expected |
| ADDON_FLAG | N | String | This flag defines if the EFFECT_DT will be a START_DATE or an END_DATE. If this flag is empty, the EFFECT_DT will be used for the START_DATE. |
Close a value
| EMPLOYEE_ADDON_FIELD | Mandatory | Type | Value | Comment |
|---|---|---|---|---|
| EMPLOYEE_NO | N | String | 121345 | Personal number (=EMPLOYEE_ERP_ID) |
| EFFECT_DT | N | String | 2022-10-10 | END_DATE of the FIELD_VALUE associated to the FIELD_NAME |
| FIELD_TYPE | N | String | CIM | Default value, defined for any application target data will be sent to |
| FIELD_SUBTYPE | N | String | AGDA_SE | ERP_SOURCE |
| FIELD_NAME | N | String | CARTYPE | The field name of the value expected |
| FIELD_VALUE | N | String | ABCD | Value expected |
| ADDON_FLAG | N | String | C | This flag defines if the EFFECT_DT will be a START_DATE or an END_DATE. If this flag is filled, the EFFECT_DT will be used for the END_DATE. |
With the FIELD_TYPE = "CIM", sources* have the possibility to send :
- BU start date: when an employee is transferred into a new BU, the starting date into this BU can be sent using a specific add on field. This add on field is mandatory for HIR1 / HIR2 / MVT1 or TRA1 event.
- usual first and last name: It considers into CHECK only at the first employee hiring. After the hiring, the usual first/last name must be managed into CHECK.
- activity code: The code must be the code used into CHECK. WARNING: the user's rights are reset according to the code indicated.
- position in the organization: to precise the position for specific Job family / activity. This information is sent to CHECK
- first transversal role: to indicate if the employee has a transversal role (ex: PISO). This information is sent to CHECK
- second transversal role: to indicate if the employee has a second transversal role. This information is sent to CHECK
* sources : Actually, itโs only activated for DACH and Brazilian perimeters. If you would like to use the following add-on fields, please send us a request, which will be examined jointly with the Custom Apps team.
Possibles CIM add on fields:
"EMPLOYEE_ADDON_FIELD" : [
{
"EMPLOYEE_NO": "76669",
"EFFECT_DT": "2025-07-01",
"FIELD_TYPE": "CIM",
"FIELD_SUBTYPE": "SAP_DE",
"FIELD_NAME": "**BU_START_DATE**",
"FIELD_VALUE": "2025-07-01",
"ADDON_FLAG": ""
},
{
"EMPLOYEE_NO": "76669",
"EFFECT_DT": "2025-07-01",
"FIELD_TYPE": "CIM",
"FIELD_SUBTYPE": "SAP_DE",
"FIELD_NAME": "**USUAL_FIRST_NAME**",
"FIELD_VALUE": "Alfred Jean Philippe",
"ADDON_FLAG": ""
},
{
"EMPLOYEE_NO": "76669",
"EFFECT_DT": "2025-07-01",
"FIELD_TYPE": "CIM",
"FIELD_SUBTYPE": "SAP_DE",
"FIELD_NAME": "**USUAL_LAST_NAME**",
"FIELD_VALUE": "DUPOND",
"ADDON_FLAG": ""
},
{
"EMPLOYEE_NO": "76669",
"EFFECT_DT": "2025-07-01",
"FIELD_TYPE": "CIM",
"FIELD_SUBTYPE": "SAP_DE",
"FIELD_NAME": "**ACTIVITY**",
"FIELD_VALUE": "A81",
"ADDON_FLAG": ""
},
{
"EMPLOYEE_NO": "76669",
"EFFECT_DT": "2025-07-01",
"FIELD_TYPE": "CIM",
"FIELD_SUBTYPE": "SAP_DE",
"FIELD_NAME": "**ORGA_POSITION**",
"FIELD_VALUE": "4",
"ADDON_FLAG": ""
},
{
"EMPLOYEE_NO": "76669",
"EFFECT_DT": "2025-07-01",
"FIELD_TYPE": "CIM",
"FIELD_SUBTYPE": "SAP_DE",
"FIELD_NAME": "**TRANSVERSAL_ROLE_1**",
"FIELD_VALUE": "2",
"ADDON_FLAG": ""
},
{
"EMPLOYEE_NO": "76669",
"EFFECT_DT": "2025-07-01",
"FIELD_TYPE": "CIM",
"FIELD_SUBTYPE": "SAP_DE",
"FIELD_NAME": "**TRANSVERSAL_ROLE_2**",
"FIELD_VALUE": "5",
"ADDON_FLAG": ""
}
]
EMPLOYEE_ADDON
This segment is used to send entry / exit reasons data.
| EMPLOYEE_ADDON [0..*] | Mandatory | Type | Value | Comment |
|---|---|---|---|---|
| SOURCE | Y | String | HCP700 | Source of the data |
| EVENT_TYPE | Y | String | ENTRY_CODE | Type of the data |
| EVENT_VALUE | Y | String | xxx | Value of the data |
| START_DATE | Y | String | 2026-07-01 | YYYY-MM-DD |
| END_DATE | Y | String | 2999-12-31 | YYYY-MM-DD |
| UPDATE_DATE | Y | String | 2026-07-01 15:01:23 | YYYY-MM-DD hh:mm:ss |
Each item received for the employee will be integrated as long as it does not exist. That is, whenever there is data (source, type, value, start_date or end_date) that differs from an existing line.
Example:
"EMPLOYEE_ADDON " : [
{
"SOURCE": "HCP300",
"EVENT_TYPE": "ENTRY_CODE",
"EVENT_VALUE": "xxxx",
"START_DATE": "2026-02-01",
"END_DATE": "2999-12-31",
"UPDATE_DATE": "2026-02-01 15:01:23",
},
{
"SOURCE": "HCP300",
"EVENT_TYPE": "ENTRY_CATEGORY",
"EVENT_VALUE": "xxxx",
"START_DATE": "2026-02-01",
"END_DATE": "2999-12-31",
"UPDATE_DATE": "2026-02-01 15:01:23",
},
{
"SOURCE": "HCP300",
"EVENT_TYPE": "ENTRY_REASON",
"EVENT_VALUE": "xxxx",
"START_DATE": "2026-02-01",
"END_DATE": "2999-12-31",
"UPDATE_DATE": "2026-02-01 15:01:23",
}
]